EMT Practice Test

1. Question Content...


Question List

Question1: Which of the following files is consulted when programs like netstat try to match port numbers to names?

Question2: Which command can be used to delete a group from a Linux system?

Question3: FILL BLANK
What is the name of the simple graphical login manager that comes with a vanilla X11 installation?
(Specify ONLY the command without any path or parameters.)

Question4: FILL BLANK
Which command is used to add an empty group to the system? (Specify ONLY the command without any path or parameters.)

Question5: FILL BLANK
The system's timezone may be set by linking /etc/localtime to an appropriate file in which directory?
(Provide the full path to the directory, without any country information)

Question6: Which of the following details can be found in an entry of a user specific crontab? (Choose two correct answers.)

Question7: Which of the following configuration files should be modified to globally set shell variables for all users?

Question8: Which of the following IPv4 networks are reserved by IANA for private address assignment and private routing? (Choose THREE correct answers.)

Question9: Which file used by XDM specifies the default wallpaper?

Question10: What is NTP?

Question11: FILL BLANK
Which environment variable should be set in order to change the time zone for the commands run from within the environment variable's scope? (Specify the variable name only.)

Question12: What is true about groups in a Linux system? (Choose two correct answers.)

Question13: What is NOT contained in the locale setting of the operating system?

Question14: When issuing the command ifconfig eth0 192.168.1.20/24up, which of the following happens?
(Choose two correct answers.)

Question15: Which of the following commands should be added to /etc/bash_profile in order to change the language of messages for an internationalized program to Portuguese (pt)?

Question16: Which of the following steps prevents a user from obtaining an interactive login session?

Question17: Each entry in a crontab must end with what character?

Question18: FILL BLANK
Which directory holds the files that configure the xinetd service when using several configuration files instead of an integrated configuration file? (Specify the full path to the directory.)

Question19: Which of the following statements is valid in the file /etc/nsswitch.conf?

Question20: To prevent a specific user from scheduling tasks with at, what should the administrator do?

Question21: Which of the following keywords can be used in the file /etc/nsswitch.conf to specify a source for host name lookups? (Choose TWO correct answers.)

Question22: Which of the following is true regarding the mail queue of a mail server? (choose two correct answers.)

Question23: On a machine running several X servers, how are the different instances of the X11 server identified?

Question24: Depending on the host's configuration, which of the following files can be used to turn on and off network services running on a host? (Choose two.)

Question25: FILL BLANK
Which command can be used to investigate the properties for a particular window in X by clicking that window? (Specify ONLY the command without any path or parameters.)

Question26: Which of the following lines are valid in the file /etc/hosts? (Choose TWO correct answers.)

Question27: When trying to unmount a device it is reported as being busy. Which of the following commands could be used to determine which process is causing this?

Question28: FILL BLANK
Which port is the default server port for the HTTPS protocol? (Specify the port number using digits.)

Question29: Which of the following commands can remove a user from a group?

Question30: What is the purpose of the dig command?

Question31: FILL BLANK
Which command, depending on its options, can display the open network connections, the routing tables, as well as network interface statistics. (Specify ONLY the command without any path or parameters.)

Question32: In order to discover the link layer address of the device that owns a specific IPv4 or IPv6 address, which mechanism is used?

Question33: Which of the following SQL statements will select the fields nameand addressfrom the contacts table?

Question34: Which of the following programs uses the hosts.allow file to perform its main task of checking for access control restrictions to system services?

Question35: With syslog, what is a facility?

Question36: Where are user specific crontabs stored?

Question37: Which command is used to set restrictions on the size of a core file that is created for a user when a program crashes?

Question38: Which of the following tools used for DNS debugging, reports not only the response from the name server but also details about the query?

Question39: FILL BLANK
What is the default name of the configuration file for the Xorg X11 server? (Specify the file name only without any path.)

Question40: How many bits make up an IPv6 address?

Question41: The X11 configuration file xorg.conf is grouped into sections. How is the content of the section SectionName associated with that section?

Question42: FILL BLANK
What word is missing from the following SQL statement? update tablename______ fieldname
'value' where id=909;
(Please specify the missing word using lower\_case letters only.)

Question43: How does the ping command work by default?

Question44: What is true regarding the command userdel --force --remove bob? (Choose TWO correct answers.)

Question45: FILL BLANK
Given the following line from /etc/nsswitch.conf:
hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4
By default, which file will be queried first for hostname lookups? (Specify the full name of the file, including path.)

Question46: Given the following routing table:

Why does the command route add default gw 192.168.1.1fail?

Question47: For accessibility assistance, which of the following programs is an on-screen keyboard?

Question48: Which of the following is a correct entry in the /etc/hostsfile?

Question49: What of the following statements is true regarding a display manager?

Question50: FILL BLANK
What is the assigned port number for the HTTP service? (Specify the port number using digits.)

Question51: Which of the following statements is true regarding the /etc/shadowfile?

Question52: FILL BLANK
What argument to the -type option of find will match files that are symbolic links? (Specify only the argument and no other options or words.)

Question53: FILL BLANK
Instead of using specific host names or IP addresses, which string can be used in /etc/hosts.allow entries to cover any remote host no matter of its name or address? (Specify the relevant string only without any additional options or arguments.)

Question54: Which configuration file would be edited to change the default options for outbound SSH sessions?

Question55: Which of the following commands can be used to display the local routing table? (Choose TWO correct answers.)

Question56: FILL BLANK
In an xinetd configuration file, which attribute specifies the network address that will be used to provide the service?

Question57: Which file contains the date of the last change of a user's password?

Question58: Which of the following are valid IPv4 network masks? (Choose two correct answers.)

Question59: What is true about the file /etc/localtime?

Question60: FILL BLANK
Which keyword must be listed in the hosts option of the Name Service Switch configuration file in order to make host lookups consult the /etc/hosts file?

Question61: FILL BLANK
Which parameter must be passed to ifconfig to activate a previously inactive network interface? (Specify the parameter only without any command, path or additional options)

Question62: In case neither cron.allow nor cron.deny exist in /etc/, which of the following is true?

Question63: Which of the following commands will help identify a broken router between the local and the remote machine?

Question64: Why should an NTP client maintain connections to several NTP servers?

Question65: What is true regarding a default route?

Question66: FILL BLANK
What word will complete an if statement in bash such as the following: if [ -x "$file" ]; then echo $file ______ (Please provide the missing word only)

Question67: Which of the following keywords can be used in the file /etc/resolv.conf? (Choose TWO correct answers.)

Question68: Which of the following fields are available in both the global /etc/crontab file as well as in user-specific crontab files? (Select TWO correct answers)

Question69: Which of the following files assigns a user to its primary group?

Question70: What is the purpose of the nsswitch.conf file?

Question71: What of the following can be done by the command ifconfig? (Choose TWO correct answers.)

Question72: FILL BLANK
What is the lowest numbered unprivileged TCP port? (Specify the number in digits only.)

Question73: FILL BLANK
The presence of what file will temporarily prevent all users except root from logging into the system?
(Specify the full name of the file, including path.)

Question74: Which of the following is true about IPv6?

Question75: Which of the following may occur as a consequence of using the command ifconfig? (Choose THREE correct answers.)

Question76: What is the purpose of a screen reader?

Question77: Which of the following find commands will print out a list of files owned by root and with the SUID bit set in / usr?

Question78: Which of the following crontab entries will execute myscript at 30 minutes past every hour on Sundays?

Question79: FILL BLANK
Which file specifies the user accounts that can NOT submit jobs via at or batch? (Provide the full path and filename)

Question80: FILL BLANK
How many IP-addresses can be used for unique hosts inside the IPv4 subnet 192.168.2.128/28? (Specify the number only without any additional information.)

Question81: Which of the following statements is valid in the file /etc/resolv.conf?

Question82: What is the purpose of the xhost program?

Question83: Fill in the blank.
With X11 forwarding in ssh, what environment variable is automatically set in the remote host shell that is not set when X11 forwarding is not enabled? (Specify only the environment variable without any additional commands or values.)

Question84: Which of the following is a valid IPv6 address?

Question85: What is the command to delete the default gateway from the system IP routing table? (Choose TWO correct answers.)

Question86: FILL BLANK
What is the name of the file that defines the sources (like DNS or local configuration files) and the order in which they are consulted when resolving hostnames? (Specify the full name of the file, including path.)

Question87: Which configuration file would be edited to change default options for the OpenSSH server?

Question88: What is true regarding TCP port 23?

Question89: Which of the following files holds the configuration for journaldwhen running system?

Question90: FILL BLANK
With IPv6, how many bits have been used for the interface identifier of an unicast address? (Specify the number using digits only.)

Question91: Which of the following commands will convert files from one character encoding to another?

Question92: FILL BLANK
Which command is used to manually assign an IP address to a network interface? (Specify only the command without any path or parameters.)

Question93: FILL BLANK
In which file, if present, must all users be listed that are allowed to use the cron scheduling system?
(Specify the full name of the file, including path.)

Question94: FILL BLANK
Which command is used to set the hostname of the local system? (Specify ONLY the command without any path or parameters.)

Question95: Given the following routing table:

How would an outgoing packet to the destination 192.168.2.150 be handled?

Question96: Which of the following details is NOT provided in any output from the netstat utility?

Question97: What is the purpose of the iconv command?

Question98: Which of the following are tasks handled by a display manager like XDM or KDM? (Choose TWO correct answers.)

Question99: Which commands can be used to change a user's account aging information? (Choose THREE correct answers.)

Question100: Which of the following fields can be found in the /etc/group file? (Choose THREE correct answers.)

Question101: Which of the following commands shows the current color depth of the X Server?

Question102: How is a display manager started?

Question103: On a regular users workstation the route command takes a long time before printing out the routing table.
Which of the following errors does that indicate?

Question104: Which character in the password field of /etc/passwd is used to indicate that the encrypted password is stored in /etc/shadow?

Question105: What is the purpose of the sticky keys feature in X?

Question106: Why should a regular user edit his personal crontab by using the command crontab instead of just editing his crontab file manually?

Question107: Which of the following commands can be used to associate open TCP ports with the processes that opened the ports?

Question108: What is true regarding the time in a Linux system?